package com.hyj.shop.project.goods.domain;

import com.hyj.shop.project.utils.domain.BaseEntity;

public class GoodsSpe extends BaseEntity {
    private int id;
    private int goodsId;
    private String goodsSpecs;
    private int goodsStock;
    private double goodsPrice;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsSpecs() {
        return goodsSpecs;
    }

    public void setGoodsSpecs(String goodsSpecs) {
        this.goodsSpecs = goodsSpecs;
    }

    public int getGoodsStock() {
        return goodsStock;
    }

    public void setGoodsStock(int goodsStock) {
        this.goodsStock = goodsStock;
    }

    public double getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(double goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    @Override
    public String toString() {
        return "GoodsSpe{" +
                "id=" + id +
                ", goodsId=" + goodsId +
                ", goodsSpecs='" + goodsSpecs + '\'' +
                ", goodsStock=" + goodsStock +
                ", goodsPrice=" + goodsPrice +
                "} " + super.toString();
    }
}
